package com.mmall.concurrency;

import com.alibaba.fastjson.JSONArray;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author:LiuWei
 * @Description:
 * @Date: Created in 15:19 2019/7/4
 * @Modified By:
 */
public class StaticDemo {

    public static void main(String[] args) {
        DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:ss:mm");

        String format =   LocalDate.now().atStartOfDay().format(dateTimeFormatter);


        System.out.println(format);
    }

}
